package engine.core
{
	import game.messages.gamedata.*;
	import game.network.*;
	
	public class RxServerVars
	{
		private static var m_serverVarsMessage:RxGameData_ServerTuningVariables = new RxGameData_ServerTuningVariables();

		public function RxServerVars()
		{
		}
		
		public static function Initialize(server:RxTransactionServer) : void
		{
			server.AddListener(RxGameData_ServerTuningVariables.messageId, ReceivedServerVars);
		}
		
		private static function ReceivedServerVars(serverVarsMessage:RxGameData_ServerTuningVariables) : void
		{
			m_serverVarsMessage = serverVarsMessage;
		}
		
		public static function GetServerVars() : RxGameData_ServerTuningVariables
		{
			return m_serverVarsMessage;
		}
	}
}